import request from './http';

const BASE_URL = 'http://localhost:8060'

const BASE_URL_DOWNLOAD = BASE_URL + '/file/'

export default {
  BASE_URL,
  BASE_URL_DOWNLOAD,
  qwenLong(obj){
    return request.requestPost(BASE_URL+'/api/qwen_long_send',obj)
  },
  deepSeek(obj){
    return request.requestPost(BASE_URL+'/deepSeek/chat',obj)
  },
  createPDF(obj){
    return request.requestPost(BASE_URL+'/api/create_pdf',obj)
  },
  createFile(obj){
    return request.requestPost(BASE_URL+'/deepSeek/create-file',obj)
  },
  checkApi(){
    return request.requestPost(BASE_URL+'/api/check')
  },
  uploadFiles(formData) {
    return request.requestUpload(BASE_URL + '/api/check', formData);
  }
}